package com.mijie.homi.admin.dao.commom;

import com.mijie.core.IBatisDao;
import com.mijie.homi.common.domain.Upgrade;

public class UpgradeDao extends IBatisDao {

	public int addUpgrade(Upgrade upgrade){
		return this.insert("addUpgrade", upgrade);
	}
	
	public int updateUpgrade(Upgrade upgrade){
		return this.update("updateUpgrade", upgrade);
	}
	
	public Upgrade getUpgrade(){
		return this.selectOne("getUpgrade");
	}
}
